package cn.com.surker.production.dao;

import cn.com.surker.production.entity.ProductionPayment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 生产累计付款信息表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-05-31
 */
public interface ProductionPaymentDao extends BaseMapper<ProductionPayment> {

    ProductionPayment findTodayPayment(String today, Long supplierId, Long orgId);

    /**
     * 查询累计结算
     * @param today
     * @return
     */
    List<ProductionPayment> findSettlement(String today, Long orgId);
}
